<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>prototype</title>
</head>
<body>

</body>
<script>
    function sz(args){
        console.log(args)
    }
    sz.prototype.add=function(items){
        console.log(items+1)
    }
    sz.prototype.less=function(items){
        console.log(items-1)
    }
    var szc=new sz();
    sz('me');
    szc.add(1);
    szc.less(5);
</script>
</html>